package com.cell.commonTest;

import lombok.Data;

/**
 * @author cloudJiang
 * @date 2022/6/24 9:36
 */
enum Season {
    //1、提供当前枚举类的对象的，多个对象之间用","隔开，末尾对象";"结束
    SPRING("春天", "春暖花开"),
    SUMMER("夏天", "夏日炎炎"),
    AUTUMN("秋天", "秋高气爽"),
    WINTER("冬天", "冰天雪地");
    //2、声明Season对象的属性
    private final String seasonName;
    private final String seasonDesc;

    //3、私有化类的构造器
    private Season(String seasonName, String seasonDesc) {
        this.seasonName = seasonName;
        this.seasonDesc = seasonDesc;
    }


}
